Regression Testing of Object-Oriented Software: Towards a Hybrid Technique
نویسندگان
چکیده
We propose, in this paper, a hybrid regression testing technique and associated tool for object-oriented software. The technique combines, in fact, the analysis of UML models to a simple static analysis of the source code of the modified program. The basic models we use are use cases model and corresponding UML statechart and collaboration diagrams. The goal of the static analysis of the source code is to identify changes that are not visible in design models. The developed tool identifies the modified (and/or impacted by modifications) use cases and selects the appropriate test cases from an existing test suite. New (JUnit) test cases, covering new scenarios or those whose structure has been modified after changes, are generated when necessary. In this way, the technique supports an incremental update of the test suite. The selected JUnit test cases, including the new ones, are automatically executed. A case study is reported to provide evidence of the feasibility of the approach and its benefits in terms of reduction of regression testing effort.
منابع مشابه
Object-Oriented Method for Automatic Extraction of Road from High Resolution Satellite Images
As the information carried in a high spatial resolution image is not represented by single pixels but by meaningful image objects, which include the association of multiple pixels and their mutual relations, the object based method has become one of the most commonly used strategies for the processing of high resolution imagery. This processing comprises two fundamental and critical steps towar...
متن کاملRegression Test Selection for C++ Software
Regression testing is an important but expensive software maintenance activity performed with the aim of providing confidence in modified software. Regression test selection techniques reduce the cost of regression testing by selecting test cases for a modified program from a previously existing test suite. Many researchers have addressed the regression test selection problem for procedural lan...
متن کاملSelecting Regression Tests for Object-Oriented Software
Regression testing is an important but expensive software maintenance activity aimed at providing con-dence in modiied software. Selective retest methods reduce the cost of regression testing by selecting tests for a modiied program from a previously existing test suite. Many researchers have addressed the selective retest problem for procedural-language software, but few have addressed the pro...
متن کاملSegmentation Assisted Object Distinction for Direct Volume Rendering
Ray Casting is a direct volume rendering technique for visualizing 3D arrays of sampled data. It has vital applications in medical and biological imaging. Nevertheless, it is inherently open to cluttered classification results. It suffers from overlapping transfer function values and lacks a sufficiently powerful voxel parsing mechanism for object distinction. In this work, we are proposing an ...
متن کاملIntegrating White- and Black-box Techniques for Class-level Testing Object-oriented Prototypes∗
An important activity in software development is the testing of developed software using the appropriate techniques. Obviously, these techniques have to take into account the type of the software process and the type of the developed software. This article proposes a technique for testing classes developed during a special type of software process, namely object-oriented prototyping. Furthermor...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013